package com.xhlj.service;

import com.xhlj.controller.request_body.CommentBody;
import com.xhlj.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhlj.utils.Result;

/**
 * @author dell
 * @description 针对表【comment】的数据库操作Service
 * @createDate 2024-03-14 15:27:43
 */
public interface CommentService extends IService<Comment> {

    Result getCommentList(Integer postId);

    Result likeComment(Integer userId, String commentId);

    Comment addComment(CommentBody comment);
}
